package com.vhly.ddxdecompiler.dexreader.file;

import com.vhly.ddxdecompiler.dexreader.io.DexInputStream;

import java.io.DataOutputStream;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: vhly
 * Date: 2009-10-14
 * Time: 17:24:11
 *
 * @author vhly[FR]
 */
public abstract class Section {

    protected DexFile dexFile;

    protected int size;
    protected int offset;
    protected String name;

    public abstract void read(DexInputStream din) throws IOException;

    public abstract void write(DataOutputStream dout) throws IOException;
}
